cmake_minimum_required(VERSION 3.30)
project(thread_pool)

set(CMAKE_CXX_STANDARD 20)

add_executable(thread_pool main.cpp
        proj/ThreadPool.cpp
        proj/ThreadPool.h
        proj/Thread.cpp
        proj/Thread.h
        proj/TaskBase.cpp
        proj/TaskBase.h
        proj/Any.cpp
        proj/Any.h
        proj/Semaphore.cpp
        proj/Semaphore.h
        proj/Result.cpp
        proj/Result.h
)
